import request from '@/utils/request'
import API from '@/api/constans'

export const getDetails = (id) =>
  request({
    url: API.API_DETAIL,
    methods: 'GET',
    params: {
      skuId: id,
    },
  })
export const getDetailEv = (id) =>
  request({
    url: API.API_DETAILEV,
    methods: 'GET',
    params: {
      goodsSpuId: id,
    },
  })
